﻿using Basic.FormRemoteModel;

namespace Basic.UserFormService.Model
{
    public class FormFormulaStruct
    {
        public long FormId
        {
            get;
            set;
        }
        public Dictionary<long, FormTableType> TableType
        {
            get;
            set;
        }
        public long[] DicId { get; set; }

        public long[] TreeDicId { get; set; }

        public Dictionary<long, Dictionary<string, string>> Items { get; set; }

        public ColFormula[] Formula
        {
            get;
            set;
        }
        /// <summary>
        /// 状态控制
        /// </summary>
        public ColFormula[] StateFormula { get; set; }

        public long[] StateDicId { get; set; }

        public long[] TreeStateDicId { get; set; }
        /// <summary>
        /// 默认状态控制类型
        /// </summary>
        public Dictionary<long, FormStateControl> DefState { get; set; }

        /// <summary>
        /// 状态控制类型
        /// </summary>
        public Dictionary<long, FormStateControl> StateControl { get; set; }
    }
}
